function [ weights ] = matrix_weights()
% MATRIXWEIGHTS 
%   Esta funcion retorna la matriz inicial de pesos

global W0;
global LAYERS;

weights = cell(1, length(LAYERS));
weights{1} = W0(1) + (W0(2)-W0(1)).*rand(LAYERS(1),3);
for i = 2:length(LAYERS)
   weights{i} = W0(1) + (W0(2)-W0(1)).*rand(LAYERS(i),LAYERS(i-1)+1);
end

end

